package com.baizhi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("cmfz_lesson")
public class CmfzLesson implements Serializable {
    /*CREATE TABLE `cmfz_lesson` (
  `lesson_id` int(100) NOT NULL AUTO_INCREMENT,
  `lesson_name` varchar(100) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `lesson_status` int(11) DEFAULT NULL,
  PRIMARY KEY (`lesson_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;*/
    @TableId(value = "lesson_id",type = IdType.AUTO)
    private Integer lessonId;
    private String lessonName;
    private Integer userId;
    private Integer lessonStatus;
}
